package com.bwda.dsrs.systemservice.domain.form.role;

import com.bwda.dsrs.base.centerbase.form.BaseQueryForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 角色更新Form
 *
 * @author zhangyinmei
 * @date 2019年5月7日
 */
@Data
@ApiModel(description = "角色表")
public class UserAndRoleForm  extends BaseQueryForm {

	@ApiModelProperty(value = "ID主键", required = true)
	@NotNull(message = "组织ID不能为空")
	private Integer orgId;

	@ApiModelProperty(value = "ID主键", required = true)
	@NotNull(message = "角色ID不能为空")
	private Integer roleId;
	private String userCode;
	private String userName;

}